#pragma once

#ifndef X_TARGET_H
#define X_TARGET_H

#include "physicalobject.h"

#define CLCKWISE 0
#define ANTI_CLCKWISE 1

class XTarget : public PhysicalObject
{
private:
	float angular_velocity;
	float direction_of_spin;
	
	float impact_distance;
	float drag;
	bool hit;

	

public:
	XTarget(float imass, Vector3f iposition, char* fname, bool multi = true);
	~XTarget(void);

	void rotate(float dt);
	void update(float dt);

	inline void impact(bool collide){hit = true;};

	void getPointOfImpact(float z, float y);
};
#endif